﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using eBay;

namespace eBayMonitorer {
    public partial class frmGetSearchKeywordsRecommendation : Form {
        public frmGetSearchKeywordsRecommendation() {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e) {
            GetSearchKeywordsRecommendationResponseType resp = API.FindingAPI.GetSearchKeywordsRecommendation(textBox.Text.Trim());
            if (!resp.HasErrors)
                MessageBox.Show(resp.Keywords);
        }
    }
}
